package com.tencreat.mapper.account;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tencreat.domain.account.MallRegion;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author tencreat
 * @date 2021-09-17
 */
public interface MallRegionMapper extends BaseMapper<MallRegion> {

    String getNameBycounty(@Param("id") Long id);

    String getCounty(Long county);

    IPage<MallRegion> page(IPage<?> iPage, @Param("param") MallRegion mallRegion);

    List<MallRegion> selectByFirstPinYin(@Param("str")String str);

    ArrayList<MallRegion> selectByName(String name);
}
